package builder;

public class DemoTest {
    public static void main(String[] args) {
        Director director = new Director();
        Human smartHuman = director.createHumanByDirector(new SmartManBuilder());
        System.out.println(smartHuman.getHand());
        System.out.println(smartHuman.getBody());
        System.out.println(smartHuman.getFoot());
        System.out.println(smartHuman.getHead());
    }
}
